import httpInstance from '@/utils/http.js'

/**
 * @description: 获取banner图
 * @param {*}
 * @return {*}
 */

export function getBannerAPI (){
  return httpInstance({
    url:'/api/banner/info/'
  })
}

/**
 * @description: 获取人气推荐
 * @param {*}
 * @return {*}
 */
export const getHotAPI = () => {
  return  httpInstance({
    url:'/api/goods/info/is-hot-selling/'
  })
}

/**
 * @description: 获取所有商品模块
 * @param {*}
 * @return {*}
 */

export function getGoodsAPI () {
  return httpInstance({
    url: '/api/goods/info/',
  })
}

